Total Complexity | 23 |
Dependencies | 8 |
Dependents | 1 |
Total lines | 276 |
Lines of code | 155 |
Logical lines of code | 67 |
Comment lines | 79 |
Methods | 10 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_metrics_graph() | 53 | 6 | 19 | |
dispatch_metrics_request() | 52 | 5 | 22 | |
process_metrics_request() | 53 | 4 | 26 | |
register_rest_routes() | 47 | 1 | 47 | |
fetch_metrics_request() | 65 | 2 | 8 | |
handle_metrics_callback_error() | 62 | 1 | 12 | |
handle_metrics_callback_success() | 64 | 1 | 11 | |
__construct() | 79 | 1 | 3 | |
format_metrics_request_response() | 76 | 1 | 4 | |
can_manage_options() | 80 | 1 | 3 |